Skip to contentSkip to conversation

Freeze when turning on an external monitor after resume from suspend

Bug 94933 [email protected] 1 participant 12 messages Apr 14, 2016 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=94933

Bug ID: 94933
Summary: [RV610] Freeze when turning on an external monitor
after resume from suspend
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
Assignee: [email protected]
Reporter: [email protected]

I have a laptop with a Mobility Radeon HD3470 (RV610) and Plasma 5.6.2 as desktop environment. After suspending to RAM and resuming, I experience a system freeze when trying to switch to a dual monitor setup using an external monitor connected to the VGA output. The dual monitor can be turned on without problems before the suspend/resume cycle.
I don't know which logs/information could be useful to diagnose the problem, so I will provide it on demand. Thanks.

System details
--------------
VGA: Mobility Radeon HD3470 (RV610)
OS: ArchLinux 64 bit, kernel 4.4.7, xf86-video-ati 7.7.0
Desktop: Plasma 5.6.2 (with KF5 5.21 and Qt 5.6.0)

Steps to reproduce
------------------
- Start the system with only the laptop panel turned on
- Suspend to RAM and then resume
- Connect an external monitor
- Enable the external monitor with xrandr or with the KCM module (System settings -> Display and Monitor -> Display configuration)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

--- Comment #2 from Nicola Mori <[email protected]> --- Created attachment 122958
--> https://bugs.freedesktop.org/attachment.cgi?id=122958&action=edit
dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

--- Comment #3 from Nicola Mori <[email protected]> --- Created attachment 122959
--> https://bugs.freedesktop.org/attachment.cgi?id=122959&action=edit
Xorg.0.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

--- Comment #4 from Nicola Mori <[email protected]> ---
The freeze is only related to X, I guess. If, after triggering it, I'm quick enough to switch to a tty then the system is still responsive, I can log in and input commands to the shell (this is how I got the dmesg after the freeze). If instead I wait a bit after the freeze then the keyboard and the mouse become unresponsive, and pressing Ctrl+Alt+F2 has no effect. The system gets stuck with a black screen, the mouse cursor can still be moved around but clicks have no effect. The same happens when switching back to X from the tty after the "quick switch to tty" mentioned above.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

--- Comment #5 from Michel D�nzer <[email protected]> ---
The X desktop size changes from 1280x800 to 3200x1080 around the time the GPU hangs. Can you also reproduce the problem by only changing the desktop size, without changing anything about the external monitor, e.g. using something like

xrandr --fb 3200x1080

?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

--- Comment #6 from Nicola Mori <[email protected]> ---
Changing the desktop size screws the screen but the system is still responsive. I can go back to a fully working situation with

xrandr --fb 1280x800

I attach the relevant parts of dmesg and Xorg.0.log.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

--- Comment #7 from Nicola Mori <[email protected]> --- Created attachment 122961
--> https://bugs.freedesktop.org/attachment.cgi?id=122961&action=edit
dmesg on screen resize

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

--- Comment #8 from Nicola Mori <[email protected]> --- Created attachment 122962
--> https://bugs.freedesktop.org/attachment.cgi?id=122962&action=edit
Xorg.0.log for screen resize

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

--- Comment #9 from Alex Deucher <[email protected]> ---
Does disabling dpm fix the issue? remove radeon.dpm=1 from your kernel command line in grub. dpm is disabled by default on r6xx due to stability issues.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=94933

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #11 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/707.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel